﻿using Bird.Core;
using Bird.Core.Domain.Projects;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Bird.Services.Projects
{
    public interface IProjectService
    {
         Project GetProjectById(int id);
         Project[] GetProjectsByCreatorId(int creatorId);
         void DeleteProject(Project project);
         void UpdateProject(Project project);
         void InsertProject(Project project);

         IPagedList<Project> GetAllProjects(int pageSize, int pageIndex, DateTime? startTime, DateTime? endTime, int? creatorId);
    }
}
